
import Mock from 'mockjs'; 

function getUserList() {
  const result = Mock.mock({
    status: 'ok',
    'result|10': [
      {
        'id|1-100': 1,
        username: "user2",
        password: "user2",
        email: "user2@163.com",
        phone: "18888888888",
        authority: "normal",
      }
    ]
  })
  return result
}


export default [
  {
    url: '/api/users',
    method: 'get',
    response: getUserList,
  },
];
